<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Flexbox: Flex-wrap and Align-content Test</title>
        <link rel="author" title="Azul Layout" href="https://azul.rs/" />
        <meta name="flags" content="" />
        <meta name="assert" content="Flexbox should wrap items correctly and align multiple lines using align-content." />
        <style type="text/css">
            * { margin: 0; padding: 0; }
            body {
                width: 800px;
                height: 600px;
                padding: 20px;
                background: #2c3e50;
            }
            .container {
                display: flex;
                flex-wrap: wrap;
                width: 100%;
                height: 250px;
                background: white;
                margin-bottom: 20px;
                border: 3px solid #e74c3c;
                padding: 10px;/* gap: 10px; */ margin-right: 10px; margin-bottom: 10px;
            }
            .space-between {
                align-content: space-between;
            }
            .space-around {
                align-content: space-around;
            }
            .item {
                width: 150px;
                height: 80px;
                background: #667eea;
            }
        </style>
    </head>
    <body>
        <div class="container space-between">
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
        </div>
        <div class="container space-around">
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
        </div>
    </body>
</html>
